package com.solomon.travel.common.mapper;

import com.solomon.travel.common.po.Protocal;
import com.solomon.travel.common.po.ProtocalExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ProtocalMapper {
    int countByExample(ProtocalExample example);

    int deleteByExample(ProtocalExample example);

    int deleteByPrimaryKey(String objectId);

    int insert(Protocal record);

    int insertSelective(Protocal record);

    List<Protocal> selectByExample(ProtocalExample example);

    Protocal selectByPrimaryKey(String objectId);

    int updateByExampleSelective(@Param("record") Protocal record, @Param("example") ProtocalExample example);

    int updateByExample(@Param("record") Protocal record, @Param("example") ProtocalExample example);

    int updateByPrimaryKeySelective(Protocal record);

    int updateByPrimaryKey(Protocal record);
}